<template>
	<view class="cu-bar search bg-white">
		<view class="search-form round" @tap="toPage">
			<text class="cuIcon-search"></text>
			<input disabled="true" type="text" placeholder="搜索商品"></input>
		</view>
	</view>
</template>

<script>
	export default {
		name: 'search',
		computed: {
			
		},
		props: {
			url: {
				type: String,
				default:''
			}
		},
		data() {
			return {
				
			};
		},
		methods: {
			toPage() {
				console.info(this.url);
				uni.navigateTo({
					url: this.url
				})
			},
		}
	}
</script>

<style>

</style>
